package com.ssy.lingxi.member.merchant.api.fallback.paas;

import com.ssy.lingxi.common.response.ResponseCode;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.member.merchant.api.feign.paas.PassRoleControllerFeign;
import org.springframework.http.HttpHeaders;

/**
 * 生成基础配置
 * @author wyx
 * @version 2.0.0
 * @date 2021-12-23
 */
public class PassRoleControllerFeignFallback implements PassRoleControllerFeign {

    @Override
    public Wrapper<?> getRegisterTypeMenu(HttpHeaders headers) {
        return Wrapper.fail(ResponseCode.SERVICE_MERCHANT_MEMBER_ERROR);
    }
}
